﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="usrCarDriverDetails.ascx.cs" Inherits="controls_usrCarDriverDetails" %>

<%@ Register Src="usrDate.ascx" TagName="usrDate" TagPrefix="uc1" %>
<%@ Register Src="usrGender.ascx" TagName="usrGender" TagPrefix="uc2" %>
<%@ Register Src="usrMaritalStatus.ascx" TagName="usrMaritalStatus" TagPrefix="uc3" %>
<%@ Register Src="usrOccupation.ascx" TagName="usrOccupation" TagPrefix="uc4" %>
<%@ Register Src="usrJobNature.ascx" TagName="usrJobNature" TagPrefix="uc5" %>


<%--<div class="form_subbox">--%>
<div>
<%--    <h3><asp:Label ID="lblDriverNo" Visible ="false" runat="server" Text="Driver No" ></asp:Label>
        <asp:Label ID="lblDriverId" Visible="false" runat="server" ></asp:Label></h3>--%>
    <div style="background:url(../images/results-a/bg_leftcol.png) repeat-y;">
        <label class="mand_red" style="padding-right:40px"><asp:Label ID="lblDOB" runat="server" Text="<%$ Resources:CarInsurance,DOB%>"/></label>
        <div class="field">
            <span class="indicator">
                <uc1:usrDate ID="usrDOB" runat="server" EndYear="2009" StartYear="1945" />
            </span>
        </div>
        <div class="clear"></div>
    </div>
    <div class="row" style="display: none">
        <label class="mand_red"><asp:Label ID="lblGender" runat="server" Text="<%$ Resources:CarInsurance,Gender%>"/></label>
        <div class="field">
            <span class="indicator">
                <uc2:usrGender ID="ddlGender" runat="server" />
            </span>
        </div>
        <div class="clear"></div>
    </div>
    <div class="row" style="display: none">
        <label class="mand_red"><asp:Label ID="lblMaritalStatus" runat="server" Text="<%$ Resources:CarInsurance,MaritalStatus%>"/></label>
        <div class="field">
            <span class="indicator">
                <uc3:usrMaritalStatus ID="ddlMaritalStatus" runat="server" />
            </span>
        </div>
        <div class="clear"></div>
    </div>
    <div class="row" style="display: none">
        <label class="mand_red"><asp:Label ID="lblOccupation" runat="server" Text="<%$ Resources:CarInsurance,Occupation%>"/></label>
        <div class="field">
            <span class="indicator">
                <uc4:usrOccupation ID="ddlOccupation" runat="server" />
            </span>
        </div>
        <div class="clear"></div>
    </div>
    <div class="row" style="display: none">
        <label class="mand_red"><asp:Label ID="lblJobNature" runat="server" Text="<%$ Resources:CarInsurance,JobNature%>"/></label>
        <div class="field">
            <span class="indicator">
                <uc5:usrJobNature ID="ddlJobNature" runat="server" />
            </span>
        </div>
        <div class="clear"></div>
    </div>
    <div class="row" style="display: none">
        <label class="mand_red"><asp:Label ID="lblYearDrive" runat="server" Text="<%$ Resources:CarInsurance,YearDrive%>"/></label>
        <div class="field">
            <span class="indicator">                                
                <asp:DropDownList ID="ddlYersOfDriving" runat="server">
                    <asp:ListItem Selected="True" Value="-1">Select</asp:ListItem>
                    <asp:ListItem>1</asp:ListItem>
                    <asp:ListItem>2</asp:ListItem>
                    <asp:ListItem>3</asp:ListItem>
                    <asp:ListItem>4</asp:ListItem>
                    <asp:ListItem>5</asp:ListItem>
                    <asp:ListItem>6</asp:ListItem>
                    <asp:ListItem>7</asp:ListItem>
                    <asp:ListItem>8</asp:ListItem>
                    <asp:ListItem>9</asp:ListItem>
                    <asp:ListItem>10</asp:ListItem>
                    <asp:ListItem>11</asp:ListItem>
                    <asp:ListItem>12</asp:ListItem>
                    <asp:ListItem>13</asp:ListItem>
                    <asp:ListItem>14</asp:ListItem>
                    <asp:ListItem>15</asp:ListItem>
                    <asp:ListItem>16</asp:ListItem>
                    <asp:ListItem>17</asp:ListItem>
                    <asp:ListItem>18</asp:ListItem>
                    <asp:ListItem>19</asp:ListItem>
                    <asp:ListItem>20</asp:ListItem>
                </asp:DropDownList><%--Choose number of driving year in singapore.--%>
                <asp:RequiredFieldValidator ID="rfvDrivingYearSg" runat="server" ControlToValidate="ddlYersOfDriving"
                    CssClass="validationErrorControl" ErrorMessage=""
                    InitialValue="-1"></asp:RequiredFieldValidator>
            </span>
        </div>
        <div class="clear"></div>
    </div>
</div>


